package com.hsmpay.mobile.pojo.terminal;

import com.hsmpay.common.pojo.BasePojo;

import java.util.Date;

/**
 * 终端角色菜单 java bean
 * 对应 info_terminalMenu表
 *
 * @author 颜铃璋
 * @created 2013-1-16
 */
public class TerminalMenu extends BasePojo {
    private static final long serialVersionUID = -5402276518962695454L;

    private Long id;//ID
    private Long parentId;//parentId
    private Long privilegesId;//终端权限ID
    private Long roleId;//终端角色表
    private String name;//菜单名称
    private String description;//功能描述
    private Integer sort;//排序字段
    private Date createDate;
    private String layer;//层

    private String privilegesName;//功能名称
    private String functionKey;//功能关键字
    private String roleName;//角色名称
    private Integer isHidden;//1隐藏 0没有隐藏  default 0
    private Integer sonDisplayType;//子集菜单显示类型 0 列表  1 九宫格 default 0

    private Integer status;//功能状态

    //查询条件
    private String parentIdNull;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getPrivilegesId() {
        return privilegesId;
    }

    public void setPrivilegesId(Long privilegesId) {
        this.privilegesId = privilegesId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getLayer() {
        return layer;
    }

    public void setLayer(String layer) {
        this.layer = layer;
    }

    public String getPrivilegesName() {
        return privilegesName;
    }

    public void setPrivilegesName(String privilegesName) {
        this.privilegesName = privilegesName;
    }

    public String getFunctionKey() {
        return functionKey;
    }

    public void setFunctionKey(String functionKey) {
        this.functionKey = functionKey;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getParentIdNull() {
        return parentIdNull;
    }

    public void setParentIdNull(String parentIdNull) {
        this.parentIdNull = parentIdNull;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsHidden() {
        return isHidden;
    }

    public void setIsHidden(Integer isHidden) {
        this.isHidden = isHidden;
    }

    public Integer getSonDisplayType() {
        return sonDisplayType;
    }

    public void setSonDisplayType(Integer sonDisplayType) {
        this.sonDisplayType = sonDisplayType;
    }
}
